package java_basic.t1_objectandclasses;

public class MountainBike extends Bicycle{

	public int seatHeight;
	
	public MountainBike(int startHeight, int startCadence, int startGear, int startSpeed) {
		super(startCadence, startGear, startSpeed);
		
		seatHeight = startHeight;
	}
	
	//The mountainBike sub class has one method
	public void setHeight(int newValue){
		seatHeight = newValue;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
